package com.zgs.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zgs.common.utils.PageUtils;
import com.zgs.mall.product.entity.SkuInfoEntity;
import com.zgs.mall.product.vo.SkuitemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author zgs
 * @email 
 * @date 2020-07-09 08:49:51
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {


    PageUtils queryPage(Map<String, Object> params);


    void saveSkuInfu(SkuInfoEntity skuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    List<SkuInfoEntity> queryBySpuId(Long spuId);

    SkuitemVo item(Long skuId) throws ExecutionException, InterruptedException;
}

